Use PEGetSectionFormatFormula to retrieve the current format formula for the specified section of the report. Use this function with PEGetHandleString.
BOOL CRPE_API PEGetSectionFormatFormula (
short printJob,
short sectionCode,
short formulaName,
HANDLE FAR *textHandle,
short FAR *textLength );
Specifies the print job for which you want to retrieve the section format formula. | |
Specifies the Section Codes, for the report section(s) for which you want to get section format information. See Working with section codes. | |
Specifies the name of the section format formula. Use one of the PE_FFN_XXX Area/Section Format Formula Constants. | |
Specifies a pointer to the handle of the text of the actual formula. | |
Specifies a pointer to the length of the text string. Use this value to allocate a buffer for the text. |
Declare Function PEGetSectionFormatFormula Lib "crpe32.dll" (
ByVal printJob As Integer, ByVal sectionCode As Integer,
ByVal formulaName As Integer, textHandle As Long,
textLength As Integer ) As Integer
function PEGetSectionFormatFormula (
printJob: Word;
sectionCode: Word;
formulaName: Word;
var textHandle: HWnd;
var textLength: Word
): Bool stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |